package nl.vu.few.ibivu.biomodels.shared;

import java.io.Serializable;
import java.util.HashMap;

@SuppressWarnings("serial")
public class UserInfo implements Serializable {
	private UserProfile profile;
	private HashMap<AuthenticationProvider, String> loginURL;
	private String logoutURL;
	private boolean loggedIn;
	
	public UserInfo(UserProfile profile) {
		this();
		this.profile = profile;
	}
	
	public UserInfo() {
		this.loginURL = new HashMap<AuthenticationProvider, String>();
	}
	
	public UserProfile getProfile() {
		return profile;
	}
	
	public HashMap<AuthenticationProvider, String> getLoginURL() {
		return loginURL;
	}
	
	public String getLogoutURL() {
		return logoutURL;
	}
	
	public void setLogoutURL(String logoutURL) {
		this.logoutURL = logoutURL;
	}
	
	public boolean isLoggedIn() {
		return loggedIn;
	}
	
	public void setLoggedIn(boolean loggedIn) {
		this.loggedIn = loggedIn;
	}
	
}
